package com.juren.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName TestController
 * @Description 测试2
 * @Author zhangtao
 * @Date 2019/5/13 14:00
 * @Version 1.0
 **/
@RestController
@RequestMapping("say")
public class TestController {

    @GetMapping("/helloTo")
    public String test(@RequestParam String name) {
        System.out.println("eureka-client start");
        return "===端口：10002被调用了===" + name;
    }
}